  <!-- {if $member_from eq 'seller'}-->
		{include file=member.header.html}
        <!--{else}-->
       {include file=buyer.header.html}
        <!--{/if}-->
<!-- 内容 -->
<div class="content f-cb">

	<!-- 当前位置 -->
	{include file=path.html}
	<!-- 内容左边栏 -->
	   <!-- {if $member_from eq 'seller'}-->
		{include file=member.menu.html}
        <!--{else}-->
        {include file=member.menu.buyer.html}
        <!--{/if}-->
	<!-- 内容右边栏 -->
	<script>
	$(function(){
		/*多列标签*/
		var _receiveUl=$("ul.receive-t"),_receiveDIV=$('div.receive-panes > div');
		var pay_type={$pay_type};
		$("ul.receive-t").wlTabs("div.receive-panes > div");
		if(pay_type==2){
			_receiveUl.children('li').eq(1).children('a').addClass('current').parent().siblings('li').children('a').removeClass('current');
			_receiveDIV.eq(1).show().siblings('div').hide();
		}else if(pay_type==1||pay_type==0){
			_receiveUl.children('li').eq(0).children('a').addClass('current').parent().siblings('li').children('a').removeClass('current');
			_receiveDIV.eq(0).show().siblings('div').hide();
		}
		/*银行选择*/

		(function(){
			var oadd_bankb=$('#add_bankb');
			var obanklist=$('#banklist');
			oadd_bankb.bind('click',function(){
				if(obanklist.css('display')=='none'){
					obanklist.css('display','block');
					oadd_bankb.children('a').removeClass('recharge-temp-ab');
				}else{
					obanklist.css('display','none');
					oadd_bankb.children('a').addClass('recharge-temp-ab');
				}	
			});
			obanklist.bind('click',function(event){
				var current=$(event.target);
				if(current.attr('type') === 'radio'){
					var src=current.siblings('img').attr('src');
					oadd_bankb.children('img').attr('src',src);
				}
			});
		})();

		var oadd_bankb=$('#add_bankbb');
		var obanklist=$('#banklistb');
		oadd_bankb.bind('click',function(){
			if(obanklist.css('display')=='none'){
				obanklist.css('display','block');
				oadd_bankb.children('a').removeClass('recharge-temp-ab');
			}else{
				obanklist.css('display','none');
				oadd_bankb.children('a').addClass('recharge-temp-ab');
			}	
		});
		obanklist.bind('click',function(event){
			var current=$(event.target);
			if(current.attr('type') === 'radio'){
				var src=current.siblings('img').attr('src');
				var _val=current.siblings('input').val();
				oadd_bankb.children('img').attr('src',src);
				oadd_bankb.children('span').html(_val);
			}
		});
		/*过滤*/
		$(".signupForm").validate({
			  rules: {
			    money: {
			      required: true,
			      isZNum:true
			    }
			  },
			  messages: {
			    money: {
			      required: "金额不能为空"
			    }
			  }
			});
		$(".signupFormb").validate({
			  rules: {
			    money: {
			      required: true,
			      isZNum:true
			    }
			  },
			  messages: {
			    money: {
			      required: "金额不能为空"
			    }
			  }
			});
	});
	</script>
	<div class="con-receive-r">
		<ul class="receive-t f-cb">
			<li>
				<a>网上银行</a>
			</li>
			<li>
				<a>支付宝等第三方支付</a>
			</li>
		</ul>
		<div class="receive-panes">
			<div class="receive-panes-d">
				<form action="index.php?app=paycenter&act=recharge_submit&from={$member_from}" method="post" class="signupForm" name="signupForm">
					<div class="haandel_g">
						你正在为账户 <b>{$user_name}</b>
						充值
					</div>
					<div class="add_bankb" id="add_bankb">
						选择银行：&nbsp;&nbsp;
						<!--{if $pay_bank}-->
						<img src="{res file=images/member/}{$pay_bank}.gif" align="absmiddle" />
						<!--{else}-->
						<img src="{res file=images/member/CMB.gif}" align="absmiddle" />
						<!--{/if}-->
						<a class="recharge-temp-aa">&nbsp;&nbsp;</a>
					</div>
					<div class="banklist f-cb" id="banklist">
						<ul>
							<li>
								<input type="radio" name="pay_bank" value="CMB"  <!--{if $pay_bank == CMB || $pay_bank == '' }-->
								checked="checked"
								<!--{/if}-->
								/>
									&nbsp;
								<img src="{res file=images/member/CMB.gif}" align="absmiddle" />
							</li>
							<li>
								<input type="radio" name="pay_bank" value="ICBCB2C" <!--{if $pay_bank == ICBCB2C}-->
								checked="checked"
								<!--{/if}-->
								/>
									&nbsp;
								<img src="{res file=images/member/ICBCB2C.gif}" align="absmiddle" />
							</li>
							<li>
								<input type="radio" name="pay_bank" value="CCB" <!--{if $pay_bank == CCB}-->
								checked="checked"
								<!--{/if}-->
								/>
									&nbsp;
								<img src="{res file=images/member/CCB.gif}" align="absmiddle" />
							</li>
							<li>
								<input type="radio" name="pay_bank" value="ABC" <!--{if $pay_bank == ABC}-->
								checked="checked"
								<!--{/if}-->
								/>
									&nbsp;
								<img src="{res file=images/member/ABC.gif}" align="absmiddle" />
							</li>
							<li>
								<input type="radio" name="pay_bank" value="BOCB2C"  <!--{if $pay_bank == BOCB2C}-->
								checked="checked"
								<!--{/if}-->
								/>
									&nbsp;
								<img src="{res file=images/member/BOCB2C.gif}" align="absmiddle" />
							</li>
							<li>
								<input type="radio" name="pay_bank" value="SPDB"  <!--{if $pay_bank == SPDB}-->
								checked="checked"
								<!--{/if}-->
								/>
									&nbsp;
								<img src="{res file=images/member/SPDB.gif}" align="absmiddle" />
							</li>
							<li>
								<input type="radio" name="pay_bank" value="PSBC-DEBIT" <!--{if $pay_bank == 'PSBC-DEBIT'}-->
								checked="checked"
								<!--{/if}-->
								/>
									&nbsp;
								<img src="{res file=images/member/PSBC-DEBIT.gif}" align="absmiddle" />
							</li>
							<li>
								<input type="radio" name="pay_bank" value="CMBC" <!--{if $pay_bank == CMBC}-->
								checked="checked"
								<!--{/if}-->
								/>
									&nbsp;
								<img src="{res file=images/member/CMBC.gif}" align="absmiddle" />
							</li>
							<li>
								<input type="radio" name="pay_bank" value="CIB" <!--{if $pay_bank == CIB}-->
								checked="checked"
								<!--{/if}-->
								/>
									&nbsp;
								<img src="{res file=images/member/CIB.gif}" align="absmiddle" />
							</li>
							<li>
								<input type="radio" name="pay_bank" value="CITIC" <!--{if $pay_bank == CITIC}-->
								checked="checked"
								<!--{/if}-->
								/>
									&nbsp;
								<img src="{res file=images/member/CITIC.gif}" align="absmiddle" />
							</li>
							<li>
								<input type="radio" name="pay_bank" value="CEBBANK" <!--{if $pay_bank == CEBBANK}-->
								checked="checked"
								<!--{/if}-->
								/>
									&nbsp;
								<img src="{res file=images/member/CEBBANK.gif}" align="absmiddle" />
							</li>
							<li>
								<input type="radio" name="pay_bank" value="COMM" <!--{if $pay_bank == COMM}-->
								checked="checked"
								<!--{/if}-->
								/>
									&nbsp;
								<img src="{res file=images/member/COMM.gif}" align="absmiddle" />
							</li>
							<li>
								<input type="radio" name="pay_bank" value="SPABANK" <!--{if $pay_bank == SPABANK}-->
								checked="checked"
								<!--{/if}-->
								/>
									&nbsp;
								<img src="{res file=images/member/SPABANK.gif}" align="absmiddle" />
							</li>
							<li>
								<input type="radio" name="pay_bank" value="GDB" <!--{if $pay_bank == GDB}-->
								checked="checked"
								<!--{/if}-->
								/>
									&nbsp;
								<img src="{res file=images/member/GDB.gif}" align="absmiddle" />
							</li>
							<li>
								<input type="radio" name="pay_bank" value="SHBANK" <!--{if $pay_bank == SHBANK}-->
								checked="checked"
								<!--{/if}-->
								/>
									&nbsp;
								<img src="{res file=images/member/SHBANK.gif}" align="absmiddle" />
							</li>
							<li>
								<input type="radio" name="pay_bank" value="NBBANK" <!--{if $pay_bank == NBBANK}-->
								checked="checked"
								<!--{/if}-->
								/>
									&nbsp;
								<img src="{res file=images/member/NBBANK.gif}" align="absmiddle" />
							</li>
							<li>
								<input type="radio" name="pay_bank" value="HZCBB2C" <!--{if $pay_bank == HZCBB2C}-->
								checked="checked"
								<!--{/if}-->
								/>
									&nbsp;
								<img src="{res file=images/member/HZCBB2C.gif}" align="absmiddle" />
							</li>
							<li>
								<input type="radio" name="pay_bank" value="BJRCB"  <!--{if $pay_bank == BJRCB}-->
								checked="checked"
								<!--{/if}-->
								/>
									&nbsp;
								<img src="{res file=images/member/BJRCB.gif}" align="absmiddle" />
							</li>
							<li>
								<input type="radio" name="pay_bank" value="FDB" <!--{if $pay_bank == FDB}-->
								checked="checked"
								<!--{/if}-->
								/>
									&nbsp;
								<img src="{res file=images/member/FDB.gif}" align="absmiddle" />
							</li>
						</ul>
					</div>
					<br />
					<table width="100%">
						<tr>
							<td align="left" width="70">充值金额：</td>
							<td >
								<div class="valid-d">
									<input type="text"  name="money" class="extract-t-ia b-radius" value="{$money}"/>
									&nbsp;&nbsp;元
								</div>
							</td>
						</tr>
					</table>
					<div class="recharge-panes">
                        <input type="hidden" name="pay_type" value="1" />
						<input type="submit" class="b-radius" value="下一步" />
					</div>
				</form>
			</div>
			<div class="receive-panes-d">
				<form action="index.php?app=paycenter&act=recharge_submit&from={$member_from}" method="post" class="signupFormb" name="signupFormb">
					<div class="haandel_g">
						你正在为账户 <b>{$user_name}</b>
						充值
					</div>
					<div class="add_bankb" id="add_bankbb">
						<span>支付宝</span>
						<img src="{res file=images/member/alipay.jpg}" align="absmiddle" width="115">
						<a class="recharge-temp-aa">&nbsp;</a>
					</div>
                    
					
                    <div class="banklist" id="banklistb">
							<ul class="f-cb">
								<li>
									<p>
										<input name="pay_bank" type="radio" value="alipay" checked="checked">
										&nbsp;
										<img src="{res file=images/member/alipay.jpg}" align="absmiddle">
										<input type="hidden" value="支付宝" />
									</p>
									<p style="width:160px;padding:10px 0px 0px 30px;">支付宝旗下产品 网上购物，快捷支付，无需开通网银，有卡就能付，双重密码保护+72小时资金赔付</p>
								</li>
								<li>
									<p>
										<input name="pay_bank" type="radio" value="tenpay">
										&nbsp;
										<img src="{res file=images/member/tenpaylogo.jpg}" align="absmiddle">
										<input type="hidden" value="财付通" />
									</p>
									<p style="width:160px;padding:10px 0px 0px 30px;">腾讯集团旗下中国领先的第三方支付平台，一直致力于为互联网用户和企业提供安全、便捷、专业的在线支付服务。</p>
								</li>
							</ul>
						</div>
					<table width="100%">
						<tbody>
							<tr>
								<td align="left" width="70">充值金额：</td>
								<td>
									<div class="valid-d">
										<input type="text" name="money" class="extract-t-ia b-radius" value="{$money}">&nbsp;&nbsp;元</div>
								</td>
							</tr>
						</tbody>
					</table>
					<div class="recharge-panes">
                         <input type="hidden" name="pay_type" value="2" />
						<input type="submit" class="b-radius" value="下一步"></div>
				</form>
			</div>
		</div>
	</div>
</div>

<!-- 页脚 -->
{include file=footer.html}